Segment Length Measurement Using a Touch Screen System in Response to Gesture Input

ABSTRACT

Disclosed embodiments relate to processing of gestures to cause computation of measurements of a line using a touch screen. A system includes a processor, a touch screen coupled to the processor, a gesture module coupled to the processor for executing a gesturing method. The method includes determining a gesture shape and whether the gesture shape selects a first line segment by intersecting the first line segment. When the gesture shape selects a first line segment, it is then determined whether the gesture shape also selects an additional line segment different from the first line segment. When an additional line segment is not selected, the method calculates the length measurement from the beginning point of the segment to the end point of the selected first line segment. The method further displays the length measurement on a display.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of and claims priority to U.S.patent application Ser. No. 15/606,527, filed on May 26, 2017, entitledSegment Length Measurement Using a Touch Screen System in Response toGesture Input”, which is a continuation of and claims priority to U.S.patent application Ser. No. 14/638,735 filed on Mar. 4, 2015, now U.S.Pat. No. 9,690,478, granted on Jun. 27, 2017, which claims priority toU.S. Provisional Patent Application No. 61/947,747 entitled “Gesture toCause Computation of Angle Measurement in a Touch System”, filed on Mar.4, 2014, all of which are hereby incorporated by reference in theirentireties.

BACKGROUND Technical Field

Embodiments of the present invention generally relate to a method andsystem for processing gestures to cause computation of measurements ofan angle or a segment using a touch system.

Description of the Related Art

In a touch system, measuring segments and angles is cumbersome. Anglesare generally defined by three (3) points. Calculating the measurementof an angle generally involves multiple steps—accessing the menu,choosing a measurement tool, and then touching the three points definingthe angle.

Therefore, there is a need for a method and/or apparatus for processinggestures to cause computation of measurements of an angle or a lineusing a touch system.

SUMMARY

Embodiments of the present invention relate to a method and a system forprocessing gestures to cause computation of measurements of a linesegment using a touch screen. The system includes a processor, a touchscreen coupled to the processor, a gesture module coupled to theprocessor for executing a gesturing method. The method includesdetermining a gesture shape and whether the gesture shape selects afirst line segment by intersecting the first line segment. When thegesture shape selects a first line segment, it is then determinedwhether the gesture shape also selects an additional line segmentdifferent from the first line segment. When an additional line segmentis not selected, the method calculates the length measurement from thebeginning point of the segment to the end point of the selected firstline segment. The method further displays the length measurement on adisplay.

BRIEF DESCRIPTION OF THE DRAWINGS

So that the manner in which the above recited features of the presentinvention can be understood in detail, a more particular description ofthe invention, briefly summarized above, may be had by reference toembodiments, some of which are illustrated in the appended drawings. Itis to be noted, however, that the appended drawings illustrate onlytypical embodiments of this invention and are therefore not to beconsidered limiting of its scope, for the invention may admit to otherequally effective embodiments.

FIG. 1 is an embodiment of a diagram depicting a gesture for triggeringcalculating an angle using a touch screen;

FIG. 2 is an embodiment of a diagram depicting a calculation of theangle of FIG. 1;

FIG. 3 is an embodiment of a diagram depicting a gesture for triggeringcalculating a segment using a touch screen;

FIG. 4 is an embodiment of a diagram depicting a calculation of thesegment of FIG. 3;

FIG. 5 is an embodiment of a flow diagram of a gesturing method forprocessing gestures to cause computation of measurements of an angle ora segment using a touch system; and

FIG. 6 is an embodiment of a system diagram utilizing the method of FIG.5.

DETAILED DESCRIPTION

Utilizing a touch screen, the user slides fingers, a pointer or thelikes from one line to another. In some embodiments, a touch screen is ascreen that is capable of recognizing a gesture without necessarilyrequiring an actual (e.g., physical) touch of the screen, such as, agesture of hand, finger, stylus, motion, etc. In other embodiments, atouch screen is a screen that recognizes a gesture from actuallytouching the screen. FIG. 1 is an embodiment of a diagram depicting agesture for triggering calculating a measurement of an angle using atouch screen. In FIG. 1, an embodiment of an arc or a line drawn fromone line of the angle to the other is depicted. As shown in FIG. 1, theuser gestures an arc or a line from line AC to line AB or from AB toline AC to calculate angle CAB or BAC. While lines AC and AB are shownas touching (e.g., meeting at point A) in the depicted embodiment, it isunderstood that in other embodiments, such lines forming an angle neednot necessarily touch.

FIG. 2 is an embodiment of a diagram depicting a calculation of theangle of FIG. 1. As shown in FIG. 2, a method or system coupled to thetouch screen recognizes the gesture and computes the angle'smeasurement, which is shown in FIG. 2 to be 56.4°.

In accordance with a further aspect of the present disclosure, a userutilizing a touch screen provides a gesture by sliding a finger, apointer or the like across a segment. FIG. 3 is an embodiment of adiagram depicting a gesture for triggering calculating measurement of asegment's length using a touch screen. In FIG. 3, an embodiment of aline drawn across a segment is depicted. As shown in FIG. 3, the usergestures a line crossing segment DE to calculate the measurement ofsegment DE.

FIG. 4 is an embodiment of a diagram depicting a calculation of thesegment of FIG. 3. As shown in FIG. 4, a method or system coupled to thetouch screen recognizes the gesture and computes the measurement of thesegment from the segment's beginning point to its end point, which isshown in FIG. 4 to be 7.17 cm.

FIG. 5 is an embodiment of a flow diagram of a gesturing method 500 forprocessing gestures to cause computation of measurements of an angle ora segment using a touch system. The method starts at step 502 andproceeds to step 504, wherein the method 500 determines the shape of thegesture. At step 506, the method 500 determines if the gestured shape isan arc or line between two touching lines. As stated above, in someembodiments, the two lines need not necessarily be touching. If agestured arc or line is between two such lines, then the method 500proceeds to step 508, wherein the angle between the lines and behind thearc or line is calculated. Otherwise, the method 500 proceeds to step510.

At step 510, the method 500 determines if the gestured shape is a linethat intersects a segment (e.g., one line as opposed to two lines). ifit is, then the method 500 proceeds to step 512, wherein the measurementbetween the beginning point and the end point of the segment iscalculated. Otherwise, the method 500 proceeds to step 516. From steps508 and 512, the method 500 proceeds to step 514, wherein the calculatedmeasurements are displayed and the method 500 proceeds to step 516. Themethod 500 ends at step 516.

FIG. 6 is an embodiment of a gesture system diagram that performs orotherwise utilizes the method of FIG. 5. The gesture system comprises aprocessor, a gesture module and a touch screen. The processor is capableof executing instructions to perform functions, such as, calculatingmeasurements, determining gestures from a touch screen, and the like.The gesture module performs a method such as the method 500 of FIG. 5.The touch screen is coupled to the processor directly, indirectly orwirelessly to facilitate gesture recognition and/or determination by thegesture system.

While the foregoing is directed to embodiments of the present invention,other and further embodiments of the invention may be devised withoutdeparting from the basic scope thereof, and the scope thereof isdetermined by the claims that follow.

What is claimed is: 1-18. (canceled)
 19. A system comprising: a touch screen display for displaying at least one location and having a touch screen for receiving a gesture input; a processor communicatively coupled to the touch screen; and a memory communicatively coupled to the processor and storing program instructions that, when executed by the processor, cause the processor to: determine a gesture shape indicated by the gesture input; determine whether the gesture input selects a first location displayed on the touch screen display, wherein selection of the first location is indicated by the gesture shape intersecting the first location; when the gesture input selects the first location, determine whether the gesture input selects a second location displayed on the touch screen display, wherein selection of the second location is indicated by the gesture shape intersecting the second location; and when the gesture input does not select a second location, determine a beginning point and an end point of the selected first location, determine a length measurement between the beginning point and the end point, and display the determined length measurement on the touch screen display.
 20. The system as claimed in claim 19, wherein the gesture shape is an arc.
 21. The system as claimed in claim 19, wherein the gesture shape is a line.
 22. The system as claimed in claim 19, wherein the determined length measurement is displayed on the touch screen display in close proximity to the selected first location.
 23. The system as claimed in claim 19, wherein the program instructions, when executed by the processor, further cause the processor to: when the gesture input does select a second location displayed on the touch screen display, identify an angle formed between the selected first location and the selected second location, determine an angle measurement of the angle, and display the determined angle measurement on the touch screen display.
 24. The system as claimed in claim 23, wherein the determined angle measurement is displayed on the touch screen display in close proximity to the angle.
 25. A method for initiating a measurement calculation of a location displayed on a touch screen display of a processor-based system, the method comprising: using the touch screen display to receive a gesture input; using a processor of the processor-based system to determine a gesture shape indicated by the gesture input; using the processor to determine whether the gesture input selects the location, wherein selection of the location is indicated by the gesture shape intersecting the location; when the location is selected by the gesture shape, using the processor to determine whether the gesture input selects at least one other location displayed on the touch screen display, wherein selection of the at least one other location is indicated by the gesture shape also intersecting the at least one other location; and when the gesture input does not select at least one other location displayed on the touch screen display, using the processor to identify a beginning point and an end point of the selected location, determine a length measurement between the beginning point and the end point, and display the determined length measurement on the touch screen display.
 26. The method as claimed in claim 25, comprising, when the gesture input selects one other location displayed on the touch screen display, using the processor to identify an angle formed between the selected location and the selected one other location, determine an angle measurement of the angle, and display the determined angle measurement on the touch screen display.
 27. The method as claimed in claim 26, wherein the determined angle measurement is displayed on the touch screen display in close proximity to the angle.
 28. The method as claimed in claim 25, wherein the gesture shape is an arc.
 29. The method as claimed in claim 25, wherein the gesture shape is line.
 30. The method as claimed in claim 25, wherein the determined length measurement is displayed on the touch screen display in close proximity to the selected location.
 31. A non-transitory computer-readable medium comprising instructions, that when executed by a processor, cause the processor to: determine a gesture shape indicated by a gesture input received by a touch screen display; determine whether the gesture input selects a first location displayed on the touch screen display, wherein selection of the first location is indicated by the gesture shape intersecting the first location; when the gesture input selects the first location, determine whether the gesture input selects a second location displayed on the touch screen display, wherein selection of the second location is indicated by the gesture shape intersecting the second location; and when the gesture input does not select a second location, determine a beginning point and an end point of the selected first location, determine a length measurement between the beginning point and the end point, and display the determined length measurement on the touch screen display.
 32. The non-transitory computer-readable medium as claimed in claim 31, wherein the gesture shape is an arc.
 33. The non-transitory computer-readable medium as claimed in claim 31, wherein the gesture shape is a line.
 34. The non-transitory computer-readable medium as claimed in claim 31, wherein the instructions cause the processor to display the determined length measurement on the touch screen display in close proximity to the selected first location.
 35. The non-transitory computer-readable medium as claimed in claim 31, wherein the instructions, when executed by the processor, further cause the processor to: when the gesture input does select a second location displayed on the touch screen display, identify an angle formed between the selected first location and the selected second location, determine an angle measurement of the angle, and display the determined angle measurement on the touch screen display.
 36. The non-transitory computer-readable medium as claimed in claim 35, wherein the instructions cause the processor to display the determined angle measurement on the touch screen display in close proximity to the angle. 